package com.xbongbong.pro.formdata.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * data字段更新的格式
 * @author 吴峰
 * @version v1.0
 * @date 2019/2/13 16:04
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class UpdateBatchPojo implements Serializable {
    private static final long serialVersionUID = 3805884824342448641L;

    /**
     * sql里面的key，格式为：$.text_1
     */
    private String key;

    /**
     * es里的key，格式为：data.text_1
     */
    private String esKey;

    /**
     * 所更新的值
     */
    private Object value;
}
